package com.igeek.base.ch01;

/**
 * @Description TODO
 * @Author chenmin
 * @Date 2024/7/11 14:26
 */
public class Worker extends Pepo{
    public Worker(String name, int age) {
        super(name, age);
    }

    public void zt(){
        System.out.println("有个工人叫"+getName()+"，"+getAge()+"岁，正在工作。");
    }

}
